﻿namespace BCDto.Sim.Admin.AdminPermissionRecord
{
    /// <summary>
    /// 员工权限记录
    /// </summary>
    public class AdminPermissionRecordDto
    {
        /// <summary>
        /// 员工权限记录Id
        /// </summary>
        public long AdminPermissionRecordId { get; set; }
        /// <summary>
        /// 员工组织映射记录Id
        /// </summary>
        public long StaffOrganizationMappingRecordId { get; set; }
        /// <summary>
        /// 员工Id
        /// </summary>
        public long AdminId { get; set; }
        /// <summary>
        /// 员工名称
        /// </summary>
        public string FullName { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 编码权限
        /// </summary>
        public string PermissionCode { get; set; }
        /// <summary>
        /// 启用添加
        /// </summary>
        public bool EnabledInsert { get; set; }
        /// <summary>
        /// 启用删除
        /// </summary>
        public bool EnabledDelete { get; set; }
        /// <summary>
        /// 启用修改
        /// </summary>
        public bool EnabledUpdate { get; set; }
        /// <summary>
        /// 启用查询
        /// </summary>
        public bool EnabledSelect { get; set; }
        /// <summary>
        /// 禁用
        /// </summary>
        public bool Disabled { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
    }
}
